﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite
{
    class SelectFlag
    {

        /*
    ** Allowed values for Select.selFlags.  The "SF" prefix stands for
    ** "Select Flag".
    */
        //#define SelectFlag.SF_Distinct        0x0001  /* Output should be DISTINCT */
        //#define SelectFlag.SF_Resolved        0x0002  /* Identifiers have been resolved */
        //#define SelectFlag.SF_Aggregate       0x0004  /* Contains aggregate functions */
        //#define SelectFlag.SF_UsesEphemeral   0x0008  /* Uses the OpenEphemeral opcode */
        //#define SelectFlag.SF_Expanded        0x0010  /* sqlite3SelectExpand() called on this */
        //#define SelectFlag.SF_HasTypeInfo     0x0020  /* FROM subqueries have Table metadata */
        public const int SF_Distinct = 0x0001; /* Output should be DISTINCT */
        public const int SF_Resolved = 0x0002; /* Identifiers have been resolved */
        public const int SF_Aggregate = 0x0004; /* Contains aggregate functions */
        public const int SF_UsesEphemeral = 0x0008; /* Uses the OpenEphemeral opcode */
        public const int SF_Expanded = 0x0010; /* sqlite3SelectExpand() called on this */
        public const int SF_HasTypeInfo = 0x0020; /* FROM subqueries have Table metadata */
    }
}
